let inps = document.querySelectorAll('input')
let btn = document.querySelector('button')
console.log(inps);

btn.onclick = function(){
    // console.log(inps[0].value);
    axios.post('/user/login', { phone: inps[0].value, pass: inps[1].value }).then((res) => {
        alert(res.data.msg);
    })

}